package com.example.tests;

import org.testng.annotations.Test;

public class GroupCreationTests extends TestBase{
 
  @Test
  public void testNonEmptyGroupCreation() throws Exception {
	openWebPage();
    gotoLinkPage("groups");
    initGroupCreation();
    GroupData group = new GroupData("group 1", "header 1", "footer 1");
	fillGroupForm(group);
    submitGroupCreation();
    gotoLinkPage("groups");
  }
  
  @Test
  public void testEmptyGroupCreation() throws Exception {
	openWebPage();
    gotoLinkPage("groups");
    initGroupCreation();
    GroupData group = new GroupData("", "", "");
	fillGroupForm(group);
    submitGroupCreation();
    gotoLinkPage("groups");
  }
}
